package com.eddie.community.dao.elasticsearch;

import com.eddie.community.entity.DiscussPost;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

/**
 * Description:操作es的数据访问层
 * Date: 2021/3/4 0004 0:33
 * Author: Eddie.Zhan
 * Email: eddie_zhan@yeah.net
 */
//声明返回的泛型和主键类型
@Repository
public interface DiscussPostRepository extends ElasticsearchRepository<DiscussPost, Integer> {
}
